package com.nchu.service;

import com.nchu.entity.Student;
import com.nchu.util.PageResult;
import com.nchu.vo.StudentVO;


import java.util.List;

public interface StudentService {
    List<Student> findAll();

    PageResult<Student> findByPage(Integer page, Integer pageSize);
    PageResult<Student> search(Integer page, Integer pageSize, StudentVO studentVo);

    boolean save(Student student);
}
